package cn.kgm.callback.local;

/**
 * @Version 1.8
 * @Author: Kappi
 * @Date: 2024-3-19 13:30
 * @Description: cn.kgm.callback.local.Task
 */
public class Task {
    private Callback callback;

    public void setCallback(Callback callback) {
        this.callback = callback;
    }

    public void execute() {
        this.callback.onComplete("任务执行结果" );
    }
}
